﻿using NUnit.Framework;
using Vk.Methods.Database;

namespace UnitTests
{
    [TestFixture]
    class DatabaseTests : TestsBase
    {
        [Test]
        public void GetCountriesTest()
        {
            IsSignatureUpdated(typeof(Database).GetMethod("GetCountries"));
        }

        [Test]
        public void GetRegionsTest()
        {
            IsSignatureUpdated(typeof(Database).GetMethod("GetRegions"));
        }

        [Test]
        public void GetStreetsByIdTest()
        {
            IsSignatureUpdated(typeof(Database).GetMethod("GetStreetsById"));
        }

        [Test]
        public void GetCountriesByIdTest()
        {
            IsSignatureUpdated(typeof(Database).GetMethod("GetCountriesById"));
        }

        [Test]
        public void GetCitiesTest()
        {
            IsSignatureUpdated(typeof(Database).GetMethod("GetCities"));
        }

        [Test]
        public void GetCitiesByIdTest()
        {
            IsSignatureUpdated(typeof(Database).GetMethod("GetCitiesById"));
        }

        [Test]
        public void GetUniversitiesTest()
        {
            IsSignatureUpdated(typeof(Database).GetMethod("GetUniversities"));
        }

        [Test]
        public void GetSchoolsTest()
        {
            IsSignatureUpdated(typeof(Database).GetMethod("GetSchools"));
        }

        [Test]
        public void GetSchoolClassesTest()
        {
            IsSignatureUpdated(typeof(Database).GetMethod("GetSchoolClasses"));
        }

        [Test]
        public void GetFacultiesTest()
        {
            IsSignatureUpdated(typeof(Database).GetMethod("GetFaculties"));
        }

        [Test]
        public void GetChairsTest()
        {
            IsSignatureUpdated(typeof(Database).GetMethod("GetChairs"));
        }
    }
}
